package com.example.dblibrary.mvp.BaseMvp;

import com.example.dblibrary.mvp.IBase.IModel;
import com.example.dblibrary.mvp.IBase.IPresenter;
import com.example.dblibrary.mvp.IBase.IView;
import com.example.dblibrary.mvp.ImpMvp.IBaseContract;

/**
 * 协议规范，需要从当前的协议继承规范
 *
 */
public interface BaseContract extends IBaseContract {

    interface BaseModel extends ImplModel{

    }

    interface  BasePresenter extends ImplPresenter{

    }


    interface BaseView extends ImplView{

    }


    /**
     * 模型统计
     *
     * @param iModel
     */
    void addModel(IModel iModel);

    /**
     * 控制器统计
     *
     * @param iPresenter
     */
    void addPresenter(IPresenter iPresenter);

    /**
     * 视图统计
     *
     * @param iView
     */
    void addView(IView iView);
}
